package com.etime.shycourse.dto;

import com.etime.shycourse.pojo.Couponrecive;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName : CouponreciveDto  //类名
 * @Description :   //描述
 * @Author : W //作者
 * @Date: 2022/3/30  14:36
 */
public class CouponreciveDto extends Couponrecive {
    //优惠券标题
    private String coupontitle;
    //电话号码
    private String userphone;
    //优惠券图片
    private String couponimg;
    //时间区间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date one;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date two;

    public String getCoupontitle() {
        return coupontitle;
    }

    public void setCoupontitle(String coupontitle) {
        this.coupontitle = coupontitle;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public String getCouponimg() {
        return couponimg;
    }

    public void setCouponimg(String couponimg) {
        this.couponimg = couponimg;
    }

    public Date getOne() {
        return one;
    }

    public void setOne(Date one) {
        this.one = one;
    }

    public Date getTwo() {
        return two;
    }

    public void setTwo(Date two) {
        this.two = two;
    }
}

